package zhang.com.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import zhang.com.ssm.mapper.PublishMapper;
import zhang.com.ssm.po.PublishPo;
import zhang.com.ssm.service.PublishService;

@Service
public class PublishServiceImpl implements PublishService {
     
	@Autowired
	PublishMapper publishMap;
	
	@Override
	public void insertPublish(PublishPo publis) {
		if(publis!=null){
			publishMap.insertPublish(publis);
		}
		
	}

}
